package com.loopy.fruns.service;

import com.loopy.fruns.entity.Furn;
import com.loopy.fruns.entity.Page;
import com.loopy.fruns.entity.PageVO;

import java.util.List;

public interface FurnService {
    List<Furn> queryFurns();
    int add(Furn furn);
    int deleteFurnById(Integer id);

    Furn queryFurnById(Integer id);
    int updateFurn(Furn furn);
    Page<Furn> page(int pageNo, int pageSize);
    Page<Furn> pageByName(String name,int pageNo, int pageSize);

}
